﻿using Super.Admin.ViewModels.Base;
using System.Collections.ObjectModel;

namespace Super.Admin.Models
{
    public class ChatGptModel : ViewModelBase
    {
        /// <summary>
        /// 模型ID
        /// </summary>
        public string Id { get; set; } = Guid.NewGuid().ToString();
        private string _title;
        /// <summary>
        /// 模型标题
        /// </summary>
        public string Title
        {
            get { return _title; }
            set { SetProperty<string>(ref _title, value); }
        }
        private ObservableCollection<ChatInfoMode> _chatInfoList = new ObservableCollection<ChatInfoMode>();
        /// <summary>
        /// 聊天信息列表
        /// </summary>
        public ObservableCollection<ChatInfoMode> ChatInfoList
        {
            get { return _chatInfoList; }
            set { SetProperty<ObservableCollection<ChatInfoMode>>(ref _chatInfoList, value); }
        }
    }
    /// <summary>
    /// 聊天信息列表
    /// </summary>
    public class ChatGptModelCollection
    {
        /// <summary>
        /// 聊天模型
        /// </summary>
        public ChatGptModel Model { get; set; }
        /// <summary>
        /// 时间
        /// </summary>
        public string Time { get; set; }
        /// <summary>
        /// 路径
        /// </summary>
        public string Path { get; set; }
    }
}
